
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../common/common_java.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<%@include file="../common/common_meta.jsp" %>  
    <meta name="keywords" content="投票,投票网,大众,民意,调查," />
	<%@include file="../common/common_css.jsp"%>
    <title>修改用户信息-大众投票</title>
</head>
<body>
   <jsp:include page="../common/common_header.jsp">
		<jsp:param name="active" value="vote_user"/>
	</jsp:include>
    <section class="container">
        <h3 class="mt-10">个人中心</h3>
        <div class="line"></div>
        <div class="responsive">
            <div class="row cl">
                <!-- left -->
                <div class="col-md-2">
	                <jsp:include page="../vote/sidebar.jsp">
						<jsp:param name="active" value="user_center"/>
					</jsp:include>
                </div>
                <!-- right -->
                <div class="col-md-10">
                    <!--panel 1 start-->
                    <div class="panel shadow panel-default radius mt-20">
                        <div class="panel-body   ">
                            <h4>修改用户信息</h4>
                            <div class="line"></div>
                            <!--form start-->
                            <form action="${ctx}/user/saveUserInfo" method="post" class="form form-horizontal responsive" id="defaultform">
                          		<input type="hidden" name="userId" value="${user.userId}"/>
                          		<div class="responsive">
	                                <div class="row cl">
	                                    <label class="form-label col-xs-2">用户展示名：</label>
	                                    <div class="formControls col-xs-5">
	                                        <input type="text" class="input-text" placeholder="5~30个字符" value="${user.displayName}" name="displayName" maxlength="30"  nullmsg="用户名不能为空！"/>
	                                    </div>
	                                    <div class="col-xs-5"></div>
	                                </div>
	                                <div class="row cl">
	                                    <div class="col-xs-10 col-xs-offset-2">
	                                        <input class="btn btn-primary" type="submit" value="&nbsp;&nbsp;修改&nbsp;&nbsp;"/>
	                                    </div>
	                                </div>
                                </div>
                            </form>
                            <!--form end-->
                        </div>
                    </div>
                    <!--panel 1 end -->
                </div>
            </div>
        </div>
    </section>
<%@include file="../common/common_footer.jsp" %> 
<%@include file="../common/common_js.jsp" %>
<script type="text/javascript" src="${jsBase}/user/editUserInfo.js" ></script>
</body>

</html>